home *** CD-ROM | disk | FTP | other *** search
- C A C H E
- Documentation
- 07/23/84
-
-
-
- In the effort to provide the best internal solutions to
- your hard disk needs, we now offer a software program to increase
- hard disk performance.
-
-
-
- DESCRIPTION
-
- CACHE is a software program designed to increase the hard
- disk operating speed. This speed increase is accomplished by
- monitoring all disk accesses, and keeping the most recently
- accessed sectors in the ram memory allocated to the CACHE program.
-
-
- When DOS requests access to a sector, the CACHE ram memory
- is checked first to see if the desired sector is already present.
- If so, the sector is returned to DOS without any disk accesses
- occuring. This greatly increases speed since ram access is faster
- than disk access. If the desired sector is not present in CACHE
- ram, it will then be read in to memory and placed into the CACHE
- ram and returned to DOS. When this occurs, the least recently
- used sector in CACHE ram is overwritten, this insures that only
- the most recently used sectors will remain in the CACHE ram. The
- more ram memory allocated, the faster the system will run.
-
-
-
- INSTALLATION
-
- The best way to install the CACHE is to place the CACHE
- command in your AUTOEXEC.BAT file so that it will be installed
- every time you boot your system. The CACHE command has the
- following format:
-
-
- CACHE [size] [-options]
-
-
- Where:
-
- [size] - specifies the amount of memory, in K bytes,
- to allocate for the CACHE ram buffer. The
- size specified must be greater than or equal
- to 8K.
-
-
-
- [-options] - specifies one of the following:
-
- -a reactivate the CACHE
-
- -d deactivate the CACHE
-
- -s display the current CACHE status
-
- -u update the unwritten buffered sectors
- to disk.
-
- -w activate buffered write mode
-
- -x deactivate buffered write mode
-
-
- OPTIONS
-
- The -a and -d options are used to activate and deactivate
- the CACHE. When the CACHE is not active all disk accesses are
- passed through without buffering anything in the CACHE ram, as if
- CACHE was not installed.
-
-
- The -s option will display the current status of the copy of
- CACHE which is actually installed. It will tell you how much
- memory is allocated, whether the CACHE is active or not active,
- and whether buffered write mode is active or not active.
-
-
- The -w and -x options are used to activate and deactivate
- buffered write mode. Normally when DOS writes a sector to disk,
- it will be moved to the CACHE ram and written to the disk before
- returning to DOS, which means CACHE does not increase the speed
- of disk writes. If buffered write mode is active, and DOS writes
- a sector to disk, it will be moved to the CACHE ram and marked to
- be written to disk at a later time; so return to DOS is immediate
- without the delay of the physical disk write. The buffered disk
- sectors will be written to disk (synced) when one of the
- following occurs:
-
- 1. CACHE is deactivated.
- 2. Buffered write mode is deactivated.
- 3. CACHE -u command is issued.
-
-
- The -u option is used to update the hard disk by writing any
- unwritten buffered sectors to disk.
-
-
- **WARNING** Buffered write mode should only be used if the
- system is running on an uninteruptable power supply. If for any
- reason the system loses power, gets reset, or is rebooted, and
- buffered write mode is active and the CACHE had not been updated
- your hard disk will be corrupted, which will require you to go to
- a backup. When using the CACHE in buffered write mode, make sure
- you issue the CACHE -u command before rebooting or powering off
- the system.
-
-
- If the FORMAT command is issued to format the hard disk
- while CACHE is active, CACHE will automatically deactivate.
-
-
-
-
- EXAMPLES
-
-
- The following would install the CACHE with a 256K ram
- buffer:
-
- CACHE 256
-
-
-
- The following would display the status of the CACHE already
- installed:
-
- CACHE -s
-
-
-
- The following would deactivate the version of CACHE already
- installed:
-
- CACHE -d
-
-
-
- The following would install the CACHE with a 180K ram buffer
- and activate buffered write mode:
-
- CACHE -w 180
-
-
-
- The following would update the unwritten buffered sectors
- onto disk (only needed if buffered write mode is active):
-
- CACHE -u
-
-
-
- The following would reactivate the cache and enable buffered
- write mode.
-
- CACHE -aw
-